package zhieasy.cn.xpu_helper.controller.course;

import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;
import zhieasy.cn.common.utils.result.ResultUtils;
import zhieasy.cn.common.vo.ResultVO;

/**
 * @author DaHang
 * @date 2020/8/22 0:19
 */

@ApiIgnore
@Slf4j
@RestController
@RequestMapping("/course/image")
public class ImageController {

    @ApiOperation(value = "/uploadImage" , notes = "上传静态图片")
    @RequestMapping(value = "/uploadImage" ,method = RequestMethod.PUT)
    public ResultVO uploadImage(){

        return ResultUtils.success();
    }

    @ApiOperation(value = "/changeBackgroundImage" , notes = "更换背景图片")
    @RequestMapping("/changeBackgroundImage")
    public ResultVO changeBackgroundImage(){

        return ResultUtils.success();
    }

}
